<div class="infor">
    <div class="center">
        <div class="po_img"><img src="{{$result.image|photo}}"></div>
        <div class="content">
            <div class="name">{{$result.username}}{{if $result.type == '2'}}（学生）{{elseif $result.type == '1'}}（老师）{{elseif $result.type == '0'}}（管理员）{{/if}}</div>
            <p class="school">
                <span>{{$result.college_c}}</span>
                <span>{{if $result.class_c}}{{$result.class_c}}{{/if}}</span>
            </p>
            <p class="contact">
                {{if $result.type != '0'}}<span>{{$result.number}}</span>{{/if}}
                <span>{{$result.email}}</span>
            </p>
            <div class="infor_bg">
                <img src="{{$smarty.const.__APP__}}/manage/images/vote_bg2.png">
            </div>
        </div>
    </div>
</div>
<div class="container">
    <div class="nav">
        <div class="center">
            <ul>
                <li {{if $smarty.get.act == 'student' || $smarty.get.act == 'teacher'}}class="current"{{/if}}>
                    <a {{if $result.type == '2'}}href="index.php?app=Myproject&act=student"{{else}}href="index.php?app=Myproject&act=teacher"{{/if}}>
                        <i></i>
                        <span>我的项目</span>
                    </a>
                </li>
                <li {{if $smarty.get.act == 'message'}}class="current"{{/if}}>
                    <a href="index.php?app=Mymessages&act=message">
                        <i></i>
                        <span>我的消息</span>
                    </a>
                </li>
                <!-- {{if $result.type != '2'}}
                <li {{if $smarty.get.act == 'manage'}}class="current"{{/if}}>
                    <a href="index.php?app=Role&act=manage">
                        <i></i>
                        <span>角色管理</span>
                    </a>
                </li>
                {{/if}} -->
                <li {{if $smarty.get.act == 'setting'}}class="current"{{/if}}>
                    <a href="index.php?app=Personal&act=setting">
                        <i></i>
                        <span>个人设置</span>
                    </a>
                </li>
            </ul>
        </div>
    </div>